package cn.com.dashboard.service;

import cn.com.dashboard.entity.ZrRules;
import cn.com.dashboard.model.*;
import cn.com.dashboard.model.rules.*;

import java.util.List;

/**
 * @author jiaming
 */
public interface RuleService {

    CommonResult<Boolean> addRule(AddRuleRequest request);

    CommonResult<Boolean> editRule(EditRuleRequest request);

    CommonResult<Boolean> deleteRule(DeleteRuleRequest request);

    CommonResult<RulesDetailResponse> details(QueryRulesDetails request);

    CommonPage<ZrRules> queryRulesList(QueryRulesListRequest request);
}
